<template>
  <video id="player-container-id" preload="auto" playsinline webkit-playsinline>
  </video>

</template>

<script>
import TCPlayer from 'tcplayer.js';
import 'tcplayer.js/dist/tcplayer.min.css';

export default {
  data() {
    return {}
  },
  mounted() {
    var player = TCPlayer('player-container-id', {
      licenseUrl: 'https://license.vod2.myqcloud.com/license/v2/1253862482_1/v_cube.license', // license 地址，参考准备工作部分，在视立方控制台申请 license 后可获得 licenseUrl
    });
    player.src('http://192.168.31.187:8888/main/'); // url 播放地址
  },
  methods: {}
}
</script>

<style scoped lang="scss">

</style>

<style>
.vjs-error-display{
  display: none;
}
.myDrag{
  display: none;
}
.vjs-big-play-button{
  display: none!important;
}
</style>
